package com.leyou.auth.service;

import com.leyou.common.auth.entity.UserInfo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface IAuthService {
    void userLogin(String username, String password, HttpServletResponse response);

    UserInfo userVerify(HttpServletRequest request, HttpServletResponse response);

    void userLogout(HttpServletRequest request, HttpServletResponse response);

    String authenticate(Long id, String secret);
}
